package com.canbot.u05.activity.agenda.bean

import java.io.Serializable

/**
 * @author yinxiaowei
 * @date 2019/5/31
 */
class AgendaDanceBean(var name: String) : Serializable {
    var isSelect = false
    var path: String = ""
    override fun toString(): String {
        return "AgendaDanceBean(name='$name', isSelect=$isSelect, path='$path')"
    }

    override fun equals(other: Any?): Boolean {
        if (this === other) return true
        if (javaClass != other?.javaClass) return false

        other as AgendaDanceBean

        if (name != other.name) return false

        return true
    }

    override fun hashCode(): Int {
        return name.hashCode()
    }
}
